/* 公共样式 */
body {
    background: url(../upload/back1.png) no-repeat;
    background-size: cover;

}
.container {
    width: 1240px;
    margin: 0 auto;
}
.header-text .di {
    line-height: 20px;
}
/* xtx-shortcut start */
.xtx-shortcut {
    margin: 0 auto;
    width: 1240px;
    height: 52px;
    background-color: #333333;
}
.xtx-shortcut-tt li {
    float: left;
    position: relative;
    line-height: 52px;
}
.xtx-shortcut-tt li img {
    position: absolute;
    display: none;
    top: 52px;
    left: -12px;
}
.xtx-shortcut-tt li:hover img {
    display: block;
}
.xtx-shortcut-tt li a {
    border-right: 1px solid #dcdcdc;
    padding : 0 17px;
    font-size: 14px;
    color: #dcdcdc;
}
.xtx-shortcut-tt li:last-child a {
    margin-right: 0;
    border-right: 0;
}
.xtx-shortcut-tt li span {
    display: inline-block;
    width: 13px;
    height: 17px;
    vertical-align: middle;
    background-image: url(../img/sprites.png);
    background-position: -159px -70px;
}
/* xtx-shortcut end*/

/* xtx-shortcut-di start */
.xtx-shortcut-di {
    height: 70px;
    padding-top: 30px;
    margin-bottom: 30px;
    /* background-color: rgb(184, 19, 19); */
}
.xtx-shortcut-di .middle {
    margin: 23px 80px 16px 40px;
    box-sizing: border-box;
    width: 672px;
	height: 31px;
}
.xtx-shortcut-di .middle li {
    float: left;
    height: 16px;
    margin-right: 48px;
}
.xtx-shortcut-di .middle li:last-child {
    margin-right: 0;
}
.xtx-shortcut-di .middle li a {
    display: inline-block;
    height: 16px;
    padding: 3px 0 12px;
    font-size: 16px;
    color: #333333;
}
.xtx-shortcut-di .middle li a:hover {
    color: #27ba9b;
    border-bottom: 1px solid #27ba9b;
}
.xtx-shortcut-di .middle li {
    display: inline-block;
}
.xtx-shortcut-di .search {
    width: 176px;
	height: 30px;
    margin-top: 20px;
    margin-left: 50px ;
    /* background-color: rgb(20, 49, 102); */
}
.xtx-shortcut-di .magnifier {
    display: inline-block;
    width: 18px;
	height: 18px;
    margin-right: 3px;
    background-image: url(../img/sprites.png);
    background-position: -80px -70px;
    vertical-align: middle;
}
.xtx-shortcut-di .search input {
    width: 155px;
	height: 30px;
    background-color: rgb(255 255 255 / 0.0);
    border-bottom: 1px solid rgb(0, 0, 0);
}
.xtx-shortcut-di .search input::placeholder {
    padding-left: 20px;
}
.xtx-shortcut-he .love1 {
    height: 500px;
    width: 1240px;
    margin: 0 auto;
    margin-bottom: 40px;
}
.header-top {
    height: 29px;
    margin: 30px 0;
}
/* xtx-shortcut-di end */ 
.xtx-shortcut-wenan {
    position: relative;
    height: 300px;
    padding-top: 200px;
    margin-bottom: 20px;
    box-sizing: border-box;
}
.xtx-shortcut-wenan .xin img {
    position: absolute;
    width: 700px;
    top: -270px;
    right: 280px;
}
.xtx-shortcut-box {
    position: relative;
    text-align: center;
    height: 100px;
    line-height: 100px;
    border-radius: 10px;
    background-color: rgba(189, 189, 189, .4);
}
.xtx-shortcut-box p {
    font-size: 50px;
    font-family: 楷体;
}
.xtx-shortcut-box img {
    position: absolute;
    top: 28px;
    left: 630px;
    width: 50px;
}
/* xtx-shortcut-wenan start */

/* xtx-shortcut-wenan end */
.header-left {
    float: left;
    height: 29px;
    line-height: 29px;
    font-size: 25px;
    color: #333333;
    font-family: PingFangSC-Regular;
    /* background-color: rgb(190, 34, 34); */
}
.header-xin {
    float: left;
    height: 20px;
    line-height: 20px;
    font-size: 16px;
    font-family: PingFangSC-Regular;
    color: #999999;
    margin: 10px 0 0 20px;
}

.header-text {
    margin-bottom: 15px;
    /* height: 775px; */
    overflow: hidden;
}
.header-text li {
    float: left;
    margin: 0 93px 40px 0;
    width: 240px;
    height: 375px;
    background-color: rgba(255, 255, 255, .6);
}
.header-text li h2 {
    margin-top: 20px;
    font-size: 18px;
    text-align: center;
    font-family: 宋体;
    color: #490010;
}
.header-text li p {
    text-align: center;
    font-size: 15px;
    padding: 8px 15px;
    font-family: 楷体;
}
.header-text li:nth-child(4n) {
    margin-right: 0;
}
.header-kong {
    position: relative;
    margin-top: 70px;
    text-align: center;
    text-shadow: 3px 3px 5px rgba(255, 0, 0, 0.6);
    height: 200px;
    margin-bottom: 400px;
    color: rgb(0, 0, 0);
    font-size: 40px;
    font-family: 宋体;
    font-weight: 700;
}
.header-kong img {
    width: 100px;
    position: absolute;
    top: 70px;
    right: 255px;
}
/* header-animation start  */
.header-animation { 
    margin: 70px auto;
    height: 200px;
    width: 700px;
}
.box-3d {
    position: relative;
    perspective: 1400px;
}
.background {
    position: absolute;
    top: -115px;
    left: 0;
    height: 500px;
    border-radius: 20px;
    background-color: rgba(182, 182, 182, 0.4);
}
.background img {
    position: absolute;
    top: -390px;
    left: 380px;
    width: 500px;
}
.header-animation {
    position: relative;
    width: 270px;
    height: 270px;
    margin: 200px auto;
    transform-style: preserve-3d;
    /* 添加动画效果 */
}
.header-animation:hover {
    animation: rotate 14s linear infinite;
}
@keyframes rotate {
    0% {
        transform: rotateY(0);
    }
    100% {
        transform: rotateY(360deg);
    }
}
.header-animation div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100%;
}
.header-animation div:nth-child(1) {
    transform: rotateY(0) translateZ(400px);
    background-image: url(../upload/like01.png);
}
.header-animation div:nth-child(2) {
    transform: rotateY(60deg) translateZ(400px);
    background-image: url(../upload/like02.png);
}
.header-animation div:nth-child(3) {
    transform: rotateY(120deg) translateZ(400px);
    background-image: url(../upload/like03.png);
}
.header-animation div:nth-child(4) {
    transform: rotateY(180deg) translateZ(400px);
    background-image: url(../upload/like04.png);
}
.header-animation div:nth-child(5) {
    transform: rotateY(240deg) translateZ(400px);
    background-image: url(../upload/like05.png);
}
.header-animation div:nth-child(6) {
    transform: rotateY(300deg) translateZ(400px);
    background-image: url(../upload/like06.png);
}
/* header-animation end */
.footer-text {
   background-image: url(../upload/back3.png);
   background-size: cover;
}

.footer-text .love2 {
    height: 600px;
    padding-left: 36%;
    vertical-align: middle;
}
